<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>H+移动工作平台 - 物资申请</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="stylesheet" href="../css/styles.css">
</head>
<body>
  <div class="device-container">
    <!-- 状态栏 -->
    <div class="status-bar">
      <div class="status-bar-left">
        <span class="time">9:41</span>
      </div>
      <div class="status-bar-right">
        <i class="fas fa-signal signal"></i>
        <i class="fas fa-wifi wifi"></i>
        <i class="fas fa-battery-full battery"></i>
      </div>
    </div>

    <!-- 导航栏 -->
    <div class="nav-bar">
      <div class="nav-left">
        <a href="material.html"><i class="fas fa-arrow-left"></i></a>
      </div>
      <div class="nav-title">物资申请</div>
      <div class="nav-right">
        <i class="fas fa-question-circle"></i>
      </div>
    </div>

    <!-- 应用内容 -->
    <div class="app-content">
      <form>
        <!-- 基本信息 -->
        <div class="card mx-4 mt-4">
          <div class="card-header">
            <span>基本信息</span>
            <span class="text-red-500 text-sm">*必填</span>
          </div>
          <div class="card-body">
            <div class="form-group">
              <label class="form-label">申请标题<span class="text-red-500">*</span></label>
              <input type="text" class="form-control" placeholder="请输入申请标题" required>
            </div>
            
            <div class="form-group">
              <label class="form-label">申请部门<span class="text-red-500">*</span></label>
              <div class="relative">
                <select class="form-control appearance-none" required>
                  <option value="">请选择申请部门</option>
                  <option value="1">内科</option>
                  <option value="2">外科</option>
                  <option value="3">儿科</option>
                  <option value="4">妇产科</option>
                  <option value="5">急诊科</option>
                </select>
                <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                  <i class="fas fa-chevron-down text-gray-400"></i>
                </div>
              </div>
            </div>
            
            <div class="form-group">
              <label class="form-label">申请类型<span class="text-red-500">*</span></label>
              <div class="relative">
                <select class="form-control appearance-none" required>
                  <option value="">请选择申请类型</option>
                  <option value="1">常规物资</option>
                  <option value="2">医疗耗材</option>
                  <option value="3">办公用品</option>
                  <option value="4">防护用品</option>
                  <option value="5">其他物资</option>
                </select>
                <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                  <i class="fas fa-chevron-down text-gray-400"></i>
                </div>
              </div>
            </div>
            
            <div class="form-group">
              <label class="form-label">期望到货日期<span class="text-red-500">*</span></label>
              <input type="date" class="form-control" required>
            </div>
            
            <div class="form-group mb-0">
              <label class="form-label">申请原因<span class="text-red-500">*</span></label>
              <textarea class="form-control" rows="4" placeholder="请详细描述申请原因..." required></textarea>
            </div>
          </div>
        </div>

        <!-- 物资清单 -->
        <div class="card mx-4 mt-4">
          <div class="card-header">
            <span>物资清单</span>
            <span class="text-red-500 text-sm">*必填</span>
          </div>
          <div class="card-body p-0">
            <!-- 物资项 1 -->
            <div class="p-4 border-b border-gray-100">
              <div class="flex justify-between items-center mb-3">
                <div class="font-medium">物资项 1</div>
                <button type="button" class="text-red-500 text-sm">
                  <i class="fas fa-trash-alt"></i> 删除
                </button>
              </div>
              
              <div class="form-group">
                <label class="form-label">物资名称<span class="text-red-500">*</span></label>
                <div class="relative">
                  <select class="form-control appearance-none" required>
                    <option value="">请选择物资</option>
                    <option value="1">一次性医用口罩</option>
                    <option value="2">医用手套</option>
                    <option value="3">一次性注射器</option>
                    <option value="4">医用酒精</option>
                    <option value="5">输液器</option>
                    <option value="6">医用棉签</option>
                    <option value="7">医用纱布</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400"></i>
                  </div>
                </div>
              </div>
              
              <div class="form-group">
                <label class="form-label">规格型号<span class="text-red-500">*</span></label>
                <input type="text" class="form-control" placeholder="请输入规格型号" required>
              </div>
              
              <div class="form-group">
                <label class="form-label">单位<span class="text-red-500">*</span></label>
                <div class="relative">
                  <select class="form-control appearance-none" required>
                    <option value="">请选择单位</option>
                    <option value="1">盒</option>
                    <option value="2">包</option>
                    <option value="3">瓶</option>
                    <option value="4">支</option>
                    <option value="5">套</option>
                    <option value="6">个</option>
                    <option value="7">袋</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400"></i>
                  </div>
                </div>
              </div>
              
              <div class="form-group mb-0">
                <label class="form-label">申请数量<span class="text-red-500">*</span></label>
                <input type="number" class="form-control" placeholder="请输入申请数量" min="1" required>
              </div>
            </div>
            
            <!-- 物资项 2 -->
            <div class="p-4">
              <div class="flex justify-between items-center mb-3">
                <div class="font-medium">物资项 2</div>
                <button type="button" class="text-red-500 text-sm">
                  <i class="fas fa-trash-alt"></i> 删除
                </button>
              </div>
              
              <div class="form-group">
                <label class="form-label">物资名称<span class="text-red-500">*</span></label>
                <div class="relative">
                  <select class="form-control appearance-none" required>
                    <option value="">请选择物资</option>
                    <option value="1">一次性医用口罩</option>
                    <option value="2">医用手套</option>
                    <option value="3">一次性注射器</option>
                    <option value="4">医用酒精</option>
                    <option value="5">输液器</option>
                    <option value="6">医用棉签</option>
                    <option value="7">医用纱布</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400"></i>
                  </div>
                </div>
              </div>
              
              <div class="form-group">
                <label class="form-label">规格型号<span class="text-red-500">*</span></label>
                <input type="text" class="form-control" placeholder="请输入规格型号" required>
              </div>
              
              <div class="form-group">
                <label class="form-label">单位<span class="text-red-500">*</span></label>
                <div class="relative">
                  <select class="form-control appearance-none" required>
                    <option value="">请选择单位</option>
                    <option value="1">盒</option>
                    <option value="2">包</option>
                    <option value="3">瓶</option>
                    <option value="4">支</option>
                    <option value="5">套</option>
                    <option value="6">个</option>
                    <option value="7">袋</option>
                  </select>
                  <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
                    <i class="fas fa-chevron-down text-gray-400"></i>
                  </div>
                </div>
              </div>
              
              <div class="form-group mb-0">
                <label class="form-label">申请数量<span class="text-red-500">*</span></label>
                <input type="number" class="form-control" placeholder="请输入申请数量" min="1" required>
              </div>
            </div>
          </div>
          
          <!-- 添加物资按钮 -->
          <div class="p-4 border-t border-gray-100">
            <button type="button" class="w-full py-2 bg-gray-100 rounded-lg text-blue-500 flex items-center justify-center">
              <i class="fas fa-plus mr-2"></i>
              <span>添加物资</span>
            </button>
          </div>
        </div>

        <!-- 审批流程 -->
        <div class="card mx-4 mt-4">
          <div class="card-header">
            <span>审批流程</span>
          </div>
          <div class="card-body p-0">
            <div class="list-item">
              <div class="flex items-center">
                <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                  <span class="text-blue-500">1</span>
                </div>
                <div>
                  <div class="font-medium">部门主管审批</div>
                  <div class="text-xs text-gray-500">李主管</div>
                </div>
              </div>
            </div>
            <div class="list-item">
              <div class="flex items-center">
                <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                  <span class="text-blue-500">2</span>
                </div>
                <div>
                  <div class="font-medium">物资部门审批</div>
                  <div class="text-xs text-gray-500">王经理</div>
                </div>
              </div>
            </div>
            <div class="list-item">
              <div class="flex items-center">
                <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                  <span class="text-blue-500">3</span>
                </div>
                <div>
                  <div class="font-medium">物资发放</div>
                  <div class="text-xs text-gray-500">物资管理员</div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!-- 抄送人 -->
        <div class="card mx-4 mt-4">
          <div class="card-header">
            <span>抄送人</span>
          </div>
          <div class="card-body">
            <div class="flex flex-wrap">
              <div class="flex items-center bg-gray-100 rounded-full px-3 py-1 mr-2 mb-2">
                <span class="text-sm">张医生</span>
                <i class="fas fa-times-circle ml-1 text-gray-500"></i>
              </div>
              <button class="flex items-center justify-center w-8 h-8 rounded-full bg-blue-100 text-blue-500 mb-2">
                <i class="fas fa-plus"></i>
              </button>
            </div>
          </div>
        </div>

        <!-- 操作按钮 -->
        <div class="flex space-x-4 p-4">
          <button type="button" class="btn btn-outline flex-1">保存草稿</button>
          <button type="submit" class="btn btn-primary flex-1">提交申请</button>
        </div>
      </form>
    </div>

    <!-- 底部标签栏 -->
    <div class="tab-bar">
      <a href="home.html" class="tab-item">
        <i class="fas fa-home tab-icon"></i>
        <span>首页</span>
      </a>
      <a href="asset.html" class="tab-item">
        <i class="fas fa-laptop tab-icon"></i>
        <span>资产</span>
      </a>
      <a href="finance.html" class="tab-item">
        <i class="fas fa-wallet tab-icon"></i>
        <span>财务</span>
      </a>
      <a href="material.html" class="tab-item active">
        <i class="fas fa-box tab-icon"></i>
        <span>物资</span>
      </a>
      <a href="profile.html" class="tab-item">
        <i class="fas fa-user tab-icon"></i>
        <span>我的</span>
      </a>
    </div>
  </div>
</body>
</html> 